package com.eascs.app.sharepush.controller;

//import java.util.List;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Controller;
//import org.springframework.web.bind.annotation.RequestMapping;
//
//import com.eascs.admin.common.controller.BaseViewController;
//import com.eascs.admin.oldO2olike.form.OldO2oLikeForm;
//import com.eascs.app.dao.PageResult;
//import com.eascs.common.util.UrlUtil;
//import com.eascs.sharepush.service.SharePushServvice;
//import com.eascs.sharepush.vo.SharePushVo;
//import com.eascs.site.page.PaginationInfo;
//import com.eascs.site.page.SelectDataOption;
//import com.eascs.site.view.ViewContext;
//import com.eascs.site.view.button.Button;
//import com.eascs.site.view.button.ButtonHelper;
//import com.eascs.tag.MenuTag;
//import com.eascs.web.sso.User;
//import com.eascs.web.sso.UserHolder;
//
//@Controller
//@RequestMapping("/sharePush")
public class SharePushController {//extends BaseViewController {

//	@Autowired
//	SharePushServvice sharePushServvice;
//	
//	@RequestMapping("/index")
//	public String index(SharePushVo sharePushVo){
//		String o2oPageUrl = "/sharePush/index";
//		PageResult<Object[]> o2opageResult = sharePushServvice.querySharePushInfoPage(sharePushVo);
//		String[] o2otitles = { "标题", "内容", "系统", "是否为最新", "创建人","创建时间" };
//		SelectDataOption[] selectDataOptions = {null, null, null, null, null, null };
//		String backfeeReportUrl="/sharePush/data";
//		if (sharePushVo != null) {
//			String system = sharePushVo.getSystem() == null ? "" : sharePushVo.getSystem();
//			o2oPageUrl = UrlUtil.appendUrl(o2oPageUrl, "system", system);
//			backfeeReportUrl = UrlUtil.appendUrl(backfeeReportUrl, "loanType", system);
//		}
////		o2oPageUrl = o2oPageUrl + "&pageIndex=";
////		PaginationInfo paginationInfo = new PaginationInfo(o2opageResult, o2otitles, o2oPageUrl);
////		paginationInfo.setTitleButtons(findButton);
////		paginationInfo.setSelectDataOptions(selectDataOptions);
////		paginationInfo.setBuildPagingNavigation(true);
////		paginationInfo.setFirstRenderColumnIndex(0);
////		ViewContext.put("paginationInfo", paginationInfo);
////		ViewContext.put("o2oPageUrl", o2oPageUrl);
////		ViewContext.put("bondReportUrl", backfeeReportUrl);
////		ViewContext.put("vo", entity);
////		return "/bond/index";
//	}
}
